﻿
@using BootstrapBlazorApp.OnlyServer.Data

<!--RazorEngine.NetCore 不支持-->
@* 
@model List<Student> 
*@



<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no, minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="msapplication-tap-highlight" content="no">

    <link href="http://localhost:53189/css/templates.css" rel="stylesheet">

    <title>数控</title>
</head>
<body>
    <table class="excelTable">
        <thead>
            <tr>
                <th>Id</th>
                <th>姓名</th>
                <th>年龄</th>
                <th>地址</th>
                <th>图片</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var row in Model)
            {
                <tr>
                    <td>@row.Id</td>
                    <td x:str>@row.Name</td>
                    <td>@row.Age</td>
                    <td x:str>@row.Address</td>
                    <td><img src="http://localhost:53189/favicon.png" /></td>
                </tr>
            }
        </tbody>
    </table>
</body>
</html>
